package com.dxj.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author dxj
 * @Description 权限实体
 * @date 2024/7/28 13:41
 */
@Data
@TableName(value = "sys_permission")
public class Permission extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 权限名称
     */
    private String permissionName;
    /**
     * 权限描述 URL admin:insert:
     */
    private String description;

    /**
     * 删除标志
     */
    @TableLogic
    private Integer delFlag;

}
